Q3GeneralPolygon_GetVertexPosition
You can use theQ3GeneralPolygon_GetVertexPosition
function to get the position of a vertex of a general polygon.
TQ3Status Q3GeneralPolygon_GetVertexPosition ( TQ3GeometryObject generalPolygon, unsigned long contourIndex, unsigned long pointIndex, TQ3Point3D *position);
generalPolygon
- A general polygon.
contourIndex
- An index into the
contours
array of the specified general polygon. This index should be greater than or equal to 0 and less than the number of contours in thecontours
array.pointIndex
- An index into the
vertices
array of the specified contour. This index should be greater than or equal to 0 and less than the number of points in thevertices
array.position
- On exit, the position of the specified vertex.
DESCRIPTION
TheQ3GeneralPolygon_GetVertexPosition
function returns, in theposition
parameter, the position of a vertex in the general polygon specified by thegeneralPolygon
parameter. The vertex has the index specified by thepointIndex
parameter in thevertices
array of the contour specified by thecontourIndex
parameter.